package com.epam.player.vkapi;

import java.util.HashMap;
import java.util.Map;

import com.epam.player.vkapi.model.ApplContextTypes;

public abstract class ApllicationContext {

	private static Map<ApplContextTypes, Object> map = new HashMap<ApplContextTypes, Object>();

	public static void addToContext(ApplContextTypes key, Object object) {
		map.put(key, object);
	}

	public static Object getFromContext(ApplContextTypes key) {
		return map.get(key);
	}
}
